package com.googlecode.gwtbb.client.only;

import com.google.gwt.core.client.GWT;
import com.googlecode.gwtbb.client.shared.SharedMessages;
import com.googlecode.gwtbb.client.shared.GwtbbSmess;

/**
 * @author Abraham Grief
 * @version $Id$
 * @since Apr 28, 2008
 */
public class GwtbbCmess {
	private static ClientOnlyMessages clientOnlyMessages;

	static {
		clientOnlyMessages = (ClientOnlyMessages)GWT.create(ClientOnlyMessages.class);
		GwtbbSmess.sharedMessages = (SharedMessages)GWT.create(SharedMessages.class);
	}

	public static ClientOnlyMessages instance() {
		return clientOnlyMessages;
	}

	private GwtbbCmess() {
	}
}
